<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      /* input[type="checkbox"] {
        width: 20px;
        height: 20px;
      } */
      /* 选中的是勾选的复选框或单选框 */
      input:checked {
        width: 40px;
        height: 40px;
      }

      /* 选中的是被禁用的input元素 */
      input:disabled {
        background-color: gray;
      }

      input:enabled {
        background-color: yellow;
      }
    </style>
  </head>
  <body>
    <input type="checkbox" />
    <input type="radio" name="gender" />
    <input type="radio" name="gender" />

    <input type="text" disabled />
    <input type="text" />
  </body>
</html>
